<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>Title</title>
</head>
<body>
hello world
<table>
    <tr>
        <td>序号</td>
        <td>标题</td>
        <td>内容</td>
        <td>日期</td>
    </tr>
    <tr th:each="n:${list}">
        <td th:text="${n.noticeId}"></td>
        <td th:text="${n.noticeName}"></td>
        <td th:text="${n.noticeInf}"></td>
        <td th:text="${#dates.format(n.noticeDate, 'yyyy-MM-dd HH:mm')}"></td>
    </tr>
</table>
</body>
</html>